home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / perl5 / auto / RPC / XML / Server / share_procs.al < prev    next >
Encoding:
Text File  |  2008-11-04  |  1.2 KB  |  30 lines

  1. # NOTE: Derived from blib/lib/RPC/XML/Server.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package RPC::XML::Server;
  5.  
  6. #line 1995 "blib/lib/RPC/XML/Server.pm (autosplit into blib/lib/auto/RPC/XML/Server/share_procs.al)"
  7. # Same as above, but for name-symmetry
  8. sub share_procs { shift->share_methods(@_) }
  9.  
  10. ###############################################################################
  11. #
  12. #   Sub Name:       copy_methods
  13. #
  14. #   Description:    Copy the named methods as found on $src_srv into the
  15. #                   method table of the calling object. This differs from
  16. #                   share() above in that only the coderef is shared, the
  17. #                   rest of the method is a completely new object.
  18. #
  19. #   Arguments:      NAME      IN/OUT  TYPE      DESCRIPTION
  20. #                   $self     in      ref       Object of this class
  21. #                   $src_srv  in      ref       Another object of this class
  22. #                   @names    in      list      One or more method names
  23. #
  24. #   Returns:        Success:    $self
  25. #                   Failure:    error message
  26. #
  27. ###############################################################################
  28. # end of RPC::XML::Server::share_procs
  29. 1;
  30.